package com.sale.system.api;

import com.sale.system.api.domain.SysBalance;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;


/**
 * 账户管理
 */
public interface RemoteAccountManagementService {

    /**
     * 更改余额(+)
     */
    int editBalance(@RequestBody SysBalance sys);

    /**
     * 循环更改余额(+)
     */
    int editListBalance(@RequestBody List<SysBalance> list1);

    /**
     * 循环更改余额(-)
     */
    int editListBalance2(@RequestBody List<SysBalance> list1);

    /**
     * 更改余额(-)
     */
    int editBalance2(@RequestBody SysBalance sys);
}
